Primitive Class Flow.Horizon

Represents a horizon.

To be used with Flow.Level.horizon1 and Flow.Level.horizon2 properties.

Members

enabled (bool) Horizon enabled state.
objectID (Objects.ObjID) Horizon object ID.
position (Vec3) Horizon position.
rotation (Rotation) Horizon rotation.
transparency (float) Horizon transparency.

Functions

Horizon(objectID) Create a horizon object.


Members

enabled
(bool) Horizon enabled state. If set to true, horizon will be visible.
objectID
(Objects.ObjID) Horizon object ID.
position
(Vec3) Horizon position. Specifies an offset from the camera origin.
rotation
(Rotation) Horizon rotation. Specifies horizon rotation.
transparency
(float) Horizon transparency. Specifies horizon transparency on a range from 0 to 1.

Functions

Horizon(objectID)
Create a horizon object.

Parameters:

  • objectID ObjID Object ID for the horizon to use.

Returns:

    Horizon A new Horizon object.
generated by TEN-LDoc (a fork of LDoc 1.4.6)